package com.zhf.factory;

import com.zhf.dao.StudentDao;
import com.zhf.dao.StudentDaoImp;

/**
 * @Author: ZhaoHuanfeng
 * @Date: 2020/10/17 16:11
 */
public class StudentDaoFactory {

    /**
     * 工厂模式生成StudentDao对象
     * @return
     */
    public static StudentDao getStudentDao(){
        return new StudentDaoImp();
    }
}
